<!DOCTYPE html>
<html>
<head>
    <title>特殊符号（其他）</title>
    <meta charset="utf-8">
    <script src="../dev-lib/jquery-1.10.2.min.js"></script>
    <script src="../dev-lib/kitygraph.all.js"></script>
    <script src="../dev-lib/dev-define.js"></script>
    <script>
        inc.config({
            base: '../src'
        });
    </script>
    <script src="../dev-lib/exports.js"></script>
    <script src="../dev-lib/dev-start.js"></script>
    <script>
        window.onload = function () {

            kf.ResourceManager.ready( function ( Formula ) {

                var formula = new Formula( document.getElementById( "container" ) );

                var sqrt1 = new kf.CombinationExpression( new kf.SuperscriptExpression( "q", 2 ), "+", new kf.SuperscriptExpression( "p", 3 ) ),
                        sqrt2 = new kf.CombinationExpression( new kf.RadicalExpression( sqrt1 ) ),
                        sqrt3 = new kf.CombinationExpression( "-q+", sqrt2 ),
                        exps = [
                            new kf.CombinationExpression( "2=", new kf.RadicalExpression( "4", "2" ) ),
                            new kf.RadicalExpression( "a+b\\div\\c" ),
                            new kf.CombinationExpression( "u=", new kf.RadicalExpression( sqrt3, 3 ) )
                        ];

                kity.Utils.each( exps, function ( exp ) {
                    formula.appendExpression( exp );
                } );

            }, {
                path: '../src/resource/'
            } );

        };

    </script>
</head>
<body>
    <h1>特殊符号（其他）</h1>
    <p>
        构造方法： new kf.Text( "\\\\to \\\\gets \\\\subseteq" );
    </p>
    <p>
        特殊符号其本质仍然是一个文本序列，不同于基本字符的是这些符号需要通过转义之后才能输入。注：希腊字符也是特殊符号的一类。
    </p>
    <div id="container"></div>
</body>
</html>